package com.ynny.Monitor;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class MonitorBlockHandler {
    public static String helloBlockHandler(BlockException e){
        System.out.println("系统繁忙，请稍后再试");
        return "系统繁忙，请稍后再试";
    }
}